package com.mobilesalon.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public interface ServiceClientContract {

	public static final Uri CONTENT_URI = Uri.parse("content://" + ServiceClientProvider.AUTHORITY
			+ "/");

	/**
	 * ServiceClient table
	 * 
	 * @author nico
	 * 
	 */
	public static final class ServiceClient implements BaseColumns {

		public static final String PATH_URI = "service_client";
		public static final Uri CONTENT_URI = Uri.parse(ServiceClientContract.CONTENT_URI
				+ PATH_URI);

		// columns
		public static final String SERVICE_ID = "ServiceId";
		public static final String CLIENT_ID = "ClientId";
		public static final String CLIENT_LOOKUP_KEY = "ClientLookupKey";
		public static final String CLIENT_DISPLAY_NAME = "ClientDisplayName";
		public static final String DATE = "Date";
		public static final String PRICE = "Price";
		public static final String APPOINTMENT_ID = "AppointmentId";

	}

	/**
	 * Service table
	 * 
	 * @author nico
	 * 
	 */
	public static final class Service implements BaseColumns {
		public static final String PATH_URI = "service";

		public static final Uri CONTENT_URI = Uri.parse(ServiceClientContract.CONTENT_URI
				+ PATH_URI);

		// columns
		public static final String SERVICE_NAME = "ServiceName";
		public static final String DEFAULT_PRICE = "Price";
	}

	/**
	 * Service table
	 * 
	 * @author nico
	 * 
	 */
	public static final class Appointment implements BaseColumns {
		public static final String PATH_URI = "appointment";

		public static final Uri CONTENT_URI = Uri.parse(ServiceClientContract.CONTENT_URI
				+ PATH_URI);

		// columns
		public static final String CLIENT_ID = "ClientId";
		public static final String CLIENT_LOOKUP_KEY = "ClientLookupKey";
		public static final String CLIENT_DISPLAY_NAME = "ClientDisplayName";
		public static final String CALENDAR_ID = "CalendarId";
		public static final String CALENDAR_OWNER = "CalendarOwner";
		public static final String DATE = "Date";
		public static final String LOCATION = "Location";
		
	}

}
